package nju.software.tagmanager.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author: raychou
 * @date: 2024-01-15 20:46
 * @description:
 */
@Data
public class BaseVO implements Serializable {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 名称(类别名/标签名/实体名)
     */
    private String name;
    /**
     * 创建者
     */
    private String creator;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 备注
     */
    private String comment;

    private List<BaseVO> prevElems;

    private List<BaseVO> postElems;

    protected List<BaseVO> getPrevElems() {
        return prevElems;
    }

    protected void setPrevElems(List<BaseVO> prevElems) {
        this.prevElems = prevElems;
    }

    protected List<BaseVO> getPostElems() {
        return postElems;
    }

    protected void setPostElems(List<BaseVO> postElems) {
        this.postElems = postElems;
    }
}
